package com.taxinfo.service;

import cn.hutool.json.JSONArray;
import com.baomidou.mybatisplus.extension.service.IService;
import com.taxinfo.pojo.dto.StandardSubDto;
import com.taxinfo.pojo.vo.StandardSub;
import org.springframework.transaction.annotation.Transactional;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wanghy
 * @since 2025-01-20
 */
@Transactional
public interface StandardSubService extends IService<StandardSub> {
    /**
     * 查询所有数据
     * @return
     */
    List<StandardSubDto> selectAllData(String subName,String sCondition);

    void syncSubjectInfo(JSONArray jsonArray);

    List<StandardSubDto> selectMatchByKey(String prefix, String suffix,String category);

    String getSubjectInfo(HashMap<String, Object> request) throws Exception;
}
